<h1>我的职位</h1>
<div class="rows">
<table>
<thead>
	<tr>
		<th>职位Id</th>
		<th>职位标题</th>
		<th>操作</th>
	</tr>
</thead>
<tbody>
	<?php foreach ($jobs as $job): ?>
	<tr>
		<td><?php echo $job['Job']['id']; ?></td>
		<td><?php echo $html->link($job['Job']['title'], "/jobs/view/".$job['Job']['id']); ?></td>
		<td><?php echo $html->link('编辑', array('action' => 'edit', $job['Job']['id'])); ?>
		&nbsp;<?php echo $html->link('删除', array('action' => 'delete', $job['Job']['id']), null, '确定要删除这个职位？'); ?>&nbsp;
		<a href="javascript:tuizhi({'id':<?php echo $job['Job']['id']; ?>, 'title':'<?php echo $job['Job']['title']; ?>', 'company':'<?php echo $job['Job']['company']; ?>'})">发布到新浪微博</a></td>
	</tr>
	<?php endforeach ?>
</tbody>
</table>
<?php
echo $this->element('tuizhi');
?>
</div>
